class Panneau
  attr_reader :nbDispo
  require './Modele/Parking'
      
  def initialize(parking)
    @nbDispo = parking.nbDispo
  end
  
  
  def maj(parking)
     @nbDispo = parking.nbDispo
  end
   
  def afficher_panneau
    puts self
  end
  
  def to_s
     "Nombre de places disponibles : #{@nbDispo}"
  end
    
end